<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>医生登录</title>
    <link rel="stylesheet" href="/static/bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="/static/animate.css" type="text/css" />
    <link rel="stylesheet" href="/static/font-awesome.min.css" type="text/css" />
    <link rel="stylesheet" href="/static/font.css" type="text/css" cache="false" />
    <link rel="stylesheet" href="/static/plugin.css" type="text/css" />
    <link rel="stylesheet" href="/static/app.css" type="text/css" />
</head>
<body background="/static/background.jpg" style="background-attachment: fixed;background-size: cover;">
    <section id="content" class="m-t-lg wrapper-md animated fadeInUp">
      <a class="nav-brand" href="index.html">一切为了病人 一切方便病人 一切服务病人</a>
      <div class="row m-n">
        <div class="col-md-4 col-md-offset-4 m-t-lg">
          <section class="panel">
            <header class="panel-heading text-center">
              欢迎使用管理系统后台！
              <br>登录
            </header>
            <form action="#" class="panel-body" method="POST">
              {% csrf_token %}  <!-- 改行代码为添加部分   -->
              <div class="form-group">
                <label class="control-label">工号</label>
                <input type="text" placeholder="请在这里输入工号" class="form-control" name="id">
              </div>
              <div class="form-group">
                <label class="control-label">密码</label>
                <input type="password" id="inputPassword" placeholder="请在这里输入密码" class="form-control" name="pwd">
              </div>
              
        
              <button type="submit" class="btn btn-info">确认登陆</button>
            </form>
            <script>
              {% for msg in messages %}
                  alert('{{ msg.message }}');
              {% endfor %}
          </script>
          </section>
        </div>
      </div>
    </section>
    <!-- footer -->
    
  
  </body>
</html>